
#include <iostream>
#include "adapter.h"

void Target::TargetRequest()
{
    std::cout << "Target Request." << std::endl;
}

void Adaptee::AdapteeRequest()
{
    std::cout << "Adaptee Request." << std::endl;
}

void AdapterA::TargetRequest()
{
    std::cout << "A:Target to ";
    AdapteeRequest();
}

void AdapterB::TargetRequest()
{
    std::cout << "B:Target to ";
    adaptee_->AdapteeRequest();
}


